package com.gitee.huanminabc.fastboot.load.hook;

import com.gitee.huanminabc.fastboot.context.AppContext;
import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;
import java.util.List;

/**
 * 启动前置钩子 , 这个时候啥也没有加载刚进入main方法
 * @Author: huanmin
 * @Date: 2025/4/3 03:01
 * @Version: 1.0
 * @Description: 文件作用详细描述....
 */
@Slf4j
public class AppStartHookLifecycleHook  extends AbstractLifecycleHook  implements AppStartHook {
    //项目启动前钩子
    public final static List<AppStartHook> appStartHooks = new ArrayList<>();

    @Override
    public void run(){
        this.runSync(appStartHooks);
    }
}